package com.zjw.mapper;

import com.zjw.entity.po.MeetingType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MeetingTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MeetingType record);

    int insertSelective(MeetingType record);

    MeetingType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MeetingType record);

    int updateByPrimaryKey(MeetingType record);

    //加载有效的课题类别列表
    @Select(" select * from meeting_type where status=1 order by sortnum ")
    List<MeetingType> selectListByStatusAndSortNumAsc();
}